﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CaseLog.aspx.cs" Inherits="CRM.Web.Pop.CaseLog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/main.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" defer="defer"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/Common.js" defer="defer"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
</head>
<body>
    <form id="form1" runat="server">
<table border="0" cellpadding="0" cellspacing="0" id="tTitle">
    <tr>
	<td class="left">
	    <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
	</td>
	<td class="middle">

    <div class="pagetitle">
        <div><asp:Label ID="lblTitle" runat="server" >工单日志</asp:Label></div>
    </div>
	
	</td>
	<td class="right">
	    <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
	</td>
    </tr>
</table>
<div id="divMain" >
    <div class="listdiv">
            <table border="0" cellpadding="0" cellspacing="0" class="search" align="center">
                <tr>                    
                    <td class="title">
                        <div class="nowrap">
                            工单编号:
                        </div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtCASEID" runat="server" CssClass="txt"></asp:TextBox>
                    </td>
                    <td class="title">
                        &nbsp;
                    </td>
                    <td class="content">
                        &nbsp;
                    </td>
                    <td class="title">
                    </td>
                    <td class="content">
                        <div style="width: 100px;" class="nowrap">
                            <asp:Button ID="btnSearch" runat="server" Text="查 询" CommandName="Search" CssClass="btn title_cx"
                                OnClick="btnSearch_Click" /></div>
                    </td>
                </tr>
            </table>
        <asp:Repeater ID="repeaterCaseLog" runat="server" 
                onitemdatabound="repeaterCaseLog_ItemDataBound" >
            <HeaderTemplate>
                <table border="0" cellpadding="0" cellspacing="0" class="gridview" align="center" style="width: 100%;">
                <tr class="header">
                    <th>工单类型名称</th>
                    <th>操作名称</th>
                    <th>当前状态名称</th>
                    <th>后顺状态名称</th>
                    <th>操作人</th>
                    <th>操作时间</th>
                </tr>
            </HeaderTemplate>
            <ItemTemplate >
                <tr class="row2" style="padding-left: 10px;" >
                    <td><%# DataBinder.Eval(Container.DataItem, "ORDERTYPENAME")%></td>
                    <td><%# DataBinder.Eval(Container.DataItem, "OPERATIONNAME")%></td>
                    <td><%# DataBinder.Eval(Container.DataItem, "CURRENTSTATUSNAME")%></td>
                    <td><%# DataBinder.Eval(Container.DataItem, "NEXTSTATUSNAME")%></td>
                    <td><%# DataBinder.Eval(Container.DataItem, "CREATEPEOPLE")%></td>
                    <td><%# DataBinder.Eval(Container.DataItem, "CREATETIME")%></td>
                </tr>
                <tr class="row" style="padding-left: 10px;" >
                    <td colspan="6" style="white-space: normal; "><%# FormatUpdateContent(DataBinder.Eval(Container.DataItem, "UPDATECONTENT").ToString(), DataBinder.Eval(Container.DataItem, "ORDERTYPEID").ToString())%></td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    
    
    </div>
</div>
    
    </form>
</body>
</html>
